package org.example.k8s_cloudplatform.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;


@TableName("user")
@Data
public class User {
    @TableId(value = "id", type = IdType.AUTO) // 自动生成
    private Integer ID;
    private String password;
    private String name;
    private String telephone;
    private String email;
    private Integer job; // 0为普通用户，1为运维人员
    private Integer status; // 0为激活状态，1为注销状态
    @TableField(value = "research_group")
    private String researchGroup;
}